package com.lzy.shops.service;

import com.lzy.shops.bean.User;
import com.lzy.shops.utils.exception.ExistException;

public interface UserService {
    public Integer registerUser(User user) throws ExistException;
    public User findByUser(User user); // 查找用户
    public Integer updateUser(User user);
    public Integer deleteUser(Integer id);
    public Integer updatePassword(User user);
    public Integer loginUser(User user);
    public User findById(Integer id); // id查找
}
